import { get } from '@/api/request'

export const findAllMenu = (params: { type: 'tree' | 'list' }) => {
  return get('/api/v1/menus', params)
}
